using System;
using Sce.Pss.Core;
using Sce.Pss.Core.Environment;
using Sce.Pss.Core.Graphics;
using Sce.Pss.Core.Imaging;
using Sce.Pss.Core.Input;
using Sce.Pss.HighLevel.GameEngine2D;
using Sce.Pss.HighLevel.GameEngine2D.Base;
using System.Xml.Serialization;
using System.IO;
using System.Collections.Generic;
using System.Web;
using System.Net;

namespace KryschenApp
{
	public class KryschenSprite:SpriteUV
	{
		public DrehungEnum AktuelleDrehungPos {get;set;}
		
		public KryschenSprite (TextureInfo t):base(t)
		{
		}
		
		public void Um90GradDrehen() {
			Rotate(Sce.Pss.HighLevel.GameEngine2D.Base.Math.Deg2Rad(90));
			if (AktuelleDrehungPos==DrehungEnum.ZweiHundertSiebzig) {
				AktuelleDrehungPos=DrehungEnum.Null;
			} else {
				AktuelleDrehungPos = AktuelleDrehungPos +1;
			}			
		}
	}
}

